home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 14642 / 14642.xpi / chrome / content / overlay.xul < prev    next >
Extensible Markup Language  |  2009-09-23  |  2KB  |  54 lines

  1. <?xml version="1.0"?>
  2. <!-- Copyright 2009, Boomtango.com.  All rights reserved -->
  3.  
  4. <?xml-stylesheet href="chrome://boomtango/skin/bt.css" type="text/css" ?>
  5. <!DOCTYPE overlay SYSTEM "chrome://boomtango/locale/bt.dtd">
  6. <overlay id="boomtangoOverlay"
  7.     xmlns:html="http://www.w3.org/1999/xhtml"
  8.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  9.  
  10.     <vbox id="appcontent">
  11.         <vbox height="1" width="1" hidden="true">
  12.             <html:canvas id="boomtangoThumbGen" hidden="true" />
  13.         </vbox>
  14.         <panel id="bttest" style="-moz-appearance: none; background-color: transparent;">
  15.             <label value="hello world"/>
  16.         </panel>
  17.     </vbox>
  18.     <script type="application/x-javascript"
  19.         src="chrome://boomtango/content/overlay.js" />
  20.  
  21.     <menupopup id="menu_ToolsPopup">
  22.         <menu id="viewBoomtangoMenu" label="Boomtango" class="menu-iconic" 
  23.             insertafter="devToolsSeparator" image="chrome://boomtango/skin/btbutton.png">
  24.             <menupopup>
  25.                 <menuitem label="&menu.opensettings;"
  26.                     oncommand="boomtangoOverlay.openSettings();"  />
  27.                 <menuitem label="&menu.openhistory;"
  28.                     key="BoomtangoHistoryKey"
  29.                     oncommand="boomtangoOverlay.openHistory();" />
  30.  
  31.             </menupopup>
  32.         </menu>
  33.     </menupopup>
  34.     <keyset id="mainKeyset">
  35.         <key id="BoomtangoHistoryKey" modifiers="accel,shift" key="b"
  36.             oncommand="boomtangoOverlay.openHistory();" />
  37.     </keyset>
  38.  
  39.  
  40.     <!-- Firefox -->
  41. <toolbarpalette id="BrowserToolbarPalette">
  42.   <toolbarbutton id="viewBoomtangoButtonIcon"/>
  43.   </toolbarpalette>
  44.  
  45. <!-- button details -->
  46. <toolbarbutton id="viewBoomtangoButtonIcon"
  47.   label="Boomtango"
  48.   tooltiptext="Boomtango"
  49.   oncommand="boomtangoOverlay.openHistory();"
  50.   class="toolbarbutton-1 chromeclass-toolbar-additional custombutton"
  51.   />
  52.  
  53. </overlay>
  54.